import {createRouter, createWebHistory} from "vue-router"

const routes = [
    {
        path: "/home",
        name: "home",
        component: () => import("../views/Home/index.vue")
    },
    {
        path: "/about",
        name: "about",
        component: () => import("../views/About/index.vue")
    },

]

const router = createRouter({
    history: createWebHistory(),
    routes 
})
export default router